﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Web.Security;

namespace RAgency.Manager
{
    public partial class MSelectView : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            DataSet ds = new DataSet();
            SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["ApplicationServices"].ConnectionString);
            SqlDataAdapter adapter = new SqlDataAdapter(Convert.ToString(this.Session["Text"]), conn);
            adapter.Fill(ds);
            conn.Close();
            result.DataSource = ds;
            result.DataBind();
        }
    }
}